package com.example.administrator.managesystem.adapter;


import java.util.List;

/**
 * Created by wr
 * on 2019/10/10
 */
public class StringAdapter implements WheelAdapter<String> {

    private final List<String> mList;

    public StringAdapter(List<String> mList) {
        this.mList = mList;
    }

    @Override
    public int getItemCount() {
        return mList.size();
    }

    @Override
    public String getItem(int index) {
        return mList.get(index);
    }
}
